package com.tuocent.dagv2.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * <p>
 * 用户登录LOG
 * </p>
 *
 * @author Vincent
 * @since 2025-09-11
 */
@Getter
@Setter
@ToString
@TableName("sys_operate_logs")
public class OperateLogs implements Serializable {


    @Serial
    private static final long serialVersionUID = -8834200134532135767L;
    private String id;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    private String userCode;

    private String ip;

    private String method;

    private String requestType;
    /**
     * 请求页面
     */
    private String uri;

    /**
     * 请求参数
     */
    private String paramData;

    private String httpStatusCode;

    /**
     * 返回值
     */
    private String returnData;

    private Integer timeConsuming;

    private LocalDateTime returnTime;
    /**
     * 操作系统
     */
    private String operatingSystem;

    /**
     * 浏览器
     */
    private String browser;

    /**
     * 浏览器版本
     */
    private String browserVersion;

    /**
     * 检查
     */
    private String examine;

    /**
     * 检查时间
     */
    private LocalDateTime examineTime;

    /**
     * 检查人
     */
    private String examiner;
}
